package com.servicesystem.demo;

import com.mike.module.datas.conf.DynamicDataSourceRegister;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.Import;

@ComponentScan({"com.mike.module","com.servicesystem.demo"})
@MapperScan("com.mike.module.datas.mapper")
@Import(DynamicDataSourceRegister.class)
@SpringBootApplication
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
